<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'toutput-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'KDGIAT'); ?>
		<?php echo $form->textField($model,'KDGIAT',array('size'=>4,'maxlength'=>4)); ?>
		<?php echo $form->error($model,'KDGIAT'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDOUTPUT'); ?>
		<?php echo $form->textField($model,'KDOUTPUT',array('size'=>3,'maxlength'=>3)); ?>
		<?php echo $form->error($model,'KDOUTPUT'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NMOUTPUT'); ?>
		<?php echo $form->textField($model,'NMOUTPUT',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'NMOUTPUT'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SAT'); ?>
		<?php echo $form->textField($model,'SAT',array('size'=>25,'maxlength'=>25)); ?>
		<?php echo $form->error($model,'SAT'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDSUM'); ?>
		<?php echo $form->textField($model,'KDSUM',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'KDSUM'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'THNAWAL'); ?>
		<?php echo $form->textField($model,'THNAWAL',array('size'=>4,'maxlength'=>4)); ?>
		<?php echo $form->error($model,'THNAWAL'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'THNAKHIR'); ?>
		<?php echo $form->textField($model,'THNAKHIR',array('size'=>4,'maxlength'=>4)); ?>
		<?php echo $form->error($model,'THNAKHIR'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDMULTI'); ?>
		<?php echo $form->textField($model,'KDMULTI',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'KDMULTI'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDIB'); ?>
		<?php echo $form->textField($model,'KDIB',array('size'=>2,'maxlength'=>2)); ?>
		<?php echo $form->error($model,'KDIB'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'_NullFlags'); ?>
		<?php echo $form->textField($model,'_NullFlags',array('size'=>-1,'maxlength'=>-1)); ?>
		<?php echo $form->error($model,'_NullFlags'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->